package com.dreams.dream.web.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/to_index.htm")
public class SysLoginController {

    Logger logger = LoggerFactory.getLogger(this.getClass());

    /**
     * index
     */
    @RequestMapping(method = RequestMethod.POST)
    public String index(HttpServletRequest request, HttpServletResponse response) {

        // 判断登陆

        logger.info("后台首页数据加载中..... ");

        // return "redirect:sys_login.jsp";

        return "back/index";
    }
}
